'use strict'

export default [
  {
    path: '/home',
    component: () => import('../../pages/projectInfo/Main.vue'),
    redirect: '/home/index',
    children: [
      {
        path: 'index',
        name: 'project-list',
        component: () => import('../../pages/projectInfo/index.vue'),
        meta: {
          title: '项目管理',
          noTab: true
        }
      }
    ]
  },
  {
    path: '/arraignment',
    component: () => import('../../pages/projectInfo/modules/dialog/Main'),
    children: [
      {
        path: '/arraignment/zcApprove',
        name: 'arraignment-zcApprove',
        component: () => import('../../pages/projectInfo/modules/dialog/zcApprove'),
        meta: {
          title: '审批',
          noTab: true
        }
      },
      {
        path: '/arraignment/advertising',
        name: 'arraignment-advertising',
        component: () => import('../../pages/projectInfo/modules/dialog/advertisingDialog'),
        meta: {
          title: '广告资源',
          noTab: true
        }
      },
      {
        path: '/arraignment/equipmentManage',
        name: 'arraignment-equipmentManage',
        component: () => import('../../pages/EquipmentManage/com/arraignment'),
        meta: {
          title: '设备',
          noTab: true
        }
      },
      {
        path: '/arraignment/park',
        name: 'arraignment-park',
        component: () => import('../../pages/projectInfo/modules/dialog/approvePark'),
        meta: {
          title: '停车场',
          noTab: true
        }
      },
      {
        path: '/arraignment/facility',
        name: 'arraignment-facility',
        component: () => import('../../pages/projectInfo/modules/dialog/approveFacility'),
        meta: {
          title: '其他设施',
          noTab: true
        }
      },
    ]
  },
  {
    path: '/rentHistory',
    component: () => import('../../pages/projectInfo/rentHistory/Main.vue'),
    meta: {
      title: '项目信息'
    },
    children: [
      {
        path: '',
        name: 'rentHistory',
        component: () => import('../../pages/projectInfo/rentHistory/rentHistory.vue'),
        meta: {
          title: '租赁历史',
        }
      },
    ]
  },
  {
    path: '/projectView',
    component: () => import('../../pages/projectInfo/customMain.vue'),
    children: [{
      path: 'projectInfo',
      name: 'buiproject-view-info',
      component: () => import('../../pages/projectInfo/Tabs/index.vue'),
      meta: {
        title: '项目信息'
      }
    }, ]
  },
  {
    path: '/building',
    component: () => import('../../pages/projectInfo/customMain.vue'),
    children: [{
      path: 'info',
      name: 'building-info',
      component: () => import('../../pages/projectInfo/Tabs/buildingTab.vue'),
      meta: {
        title: '楼栋信息'
      }
    }, ]
  },
  {
    path: '/projectInfo',
    name: 'projectInfo',
    component: () => import('../../pages/projectInfo/Main.vue'),
    meta: {
      title: '项目信息'
    },
    children: [
      {
        path: 'project',
        name: 'projectInfo-project',
        component: () => import('../../pages/projectInfo/Tabs/index.vue'),
        meta: {
          title: '项目信息',
          noTab: true
        }
      },
      {
        path: 'build',
        name: 'projectInfo-build',
        component: () => import('../../pages/projectInfo/Tabs/buildInfo.vue'),
        meta: {
          title: '楼栋信息',
          noTab: true
        }
      },
      {
        path: 'building',
        name: 'projectInfo-building',
        component: () => import('../../pages/projectInfo/Tabs/building.vue'),
        meta: {
          title: '楼层规划',
          noTab: true
        }
      },
      {
        path: 'advertising',
        name: 'projectInfo-advertising',
        component: () => import('../../pages/projectInfo/Tabs/advertising.vue'),
        meta: {
          title: '广告资源',
          noTab: true
        }
      },
      {
        path: 'park',
        name: 'projectInfo-park',
        component: () => import('../../pages/projectInfo/Tabs/park.vue'),
        meta: {
          title: '停车场信息',
          noTab: true
        }
      },
      {
        path: 'facility',
        name: 'projectInfo-facility',
        component: () => import('../../pages/projectInfo/Tabs/facility.vue'),
        meta: {
          title: '其他设施',
          noTab: true
        }
      },
      {
        path: 'equipmentManage',
        name: 'projectInfo-equipmentManage',
        component: () => import('../../pages/EquipmentManage/Index.vue'),
        meta: {
          title: '设备管理',
          noTab: true
        }
      }
    ]
  },
  {
    path: '/equipmentManage',
    component: () => import('../../pages/projectInfo/Main.vue'),
    meta: {
      title: '设备管理'
    },
    children: [
      {
        path: '',
        name: 'equipmentManage-equipmentManage',
        component: () => import('../../pages/EquipmentManage/Index.vue'),
        meta: {
          title: '设备管理',
          noTab: true
        }
      }
    ]
  },
  {
    path: '/tax',
    component: () => import('../../pages/projectInfo/Main.vue'),
    meta: {
      title: '税项管理'
    },
    children: [
      {
        path: '',
        name: 'project-tax',
        component: () => import('../../pages/projectInfo/tax.vue'),
        meta: {
          title: '税项管理',
          noTab: true
        }
      }
    ]
  },
  {
    path: '/personnel',
    component: () => import('../../pages/projectInfo/Main.vue'),
    meta: {
      title: '人员管理'
    },
    children: [
      {
        path: '',
        name: 'project-personnel',
        component: () => import('../../../limit/pages/host/modules/projectPersonnel.vue'),
        meta: {
          title: '人员管理',
          noTab: true
        }
      }
    ]
  },
  {
    path: '/projectmanage',
    component: () => import('../../pages/projectInfo/Main.vue'),
    meta: {
      title: '项目管理'
    },
    children: [
      {
        path: '',
        name: 'project-manage',
        component: () => import('../../pages/projectManage/index.vue'),
        meta: {
          title: '项目管理',
          noTab: true
        }
      }
    ]
  }]
